use image::DynamicImage;

fn main() {
    let image_width = 256;
    let image_height = 256;

    let image = DynamicImage::new_rgb8(image_width, image_height)
    let mut image = image
        .as_mut_rgb8()
        .unwrap();

    for (x, y, pixel) in image.enumerate_pixels_mut() {
        let i = x as usize;
        let j = y as usize;

        let r = i as f32 / (image_width - 1) as f32;
        let g = j as f32 / (image_height - 1) as f32;
        let b = 0.25f32;
    }

    println!("Hello, world!");
}
